package lab02.Test04;

public class Staff {
    public static void main(String[] args) {

    }
    //属性：员工姓名号码薪水及薪水增长额
    String name;
    float num;
    float money;
    float increse;
    //行为：构造方法，获取姓名，获取号码，获取基本薪水，计算薪水增长额，增长后总工资
    String name() { return name; }
    float num(){ return num; }
    float salary(){ return salary(); }
    float increse(){ return increse; }
    float sum(){ return  (money+increse); }
}
